import { withIronSession } from "next-iron-session";
import { sessionConfig } from "../../config";

function withSession(handler) {
    return withIronSession(handler, sessionConfig)
}

export default withSession